package com.cy.ppj.model.query;

import java.util.List;

import com.cy.ppj.model.Page;
import com.cy.ppj.model.enums.RecommendType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 前台首页产品列表查询条件
 * @author: tanyilin
 * @create: 2018年7月24日 上午11:53:36
 */
@Data
@ApiModel("前台产品列表查询条件")
public class ProductQuery extends Page{

	@ApiModelProperty(value = "城市ID", example = "0")
    private Long cityId;
	
	@ApiModelProperty(value = "推荐类型")
	private RecommendType type;
	
	@ApiModelProperty(value = "产品类型id", example = "0")
	private Long typeId;
	
	@ApiModelProperty(value = "是否按额度最高排序")
	private Boolean maxLimitOrder;
	
	@ApiModelProperty(value = "是否按利息最低排序")
	private Boolean minRateOrder;
	
	@ApiModelProperty(value = "是否按期限最长排序")
	private Boolean maxPeriodsOrder;
	
	@ApiModelProperty(value = "标签id列表")
	private List<Long> tagIdLists;
	
	@ApiModelProperty(value = "标签id字符串，以逗号连接")
	private String tagIdStr;
}
